/**
 * Call function after page load
 */
$(function(){
	$("#revisionButton").toggle();
	var url = $(location).attr('href');
	var isEdit = url.toLowerCase().indexOf("edit");
	if(isEdit != -1) // show if editing ( have revision in database)
		$("#revisionButton").toggle();
});